package model

import "gorm.io/gorm"

// 评价表
type Evaluation struct {
	gorm.Model
	UserId     int     `gorm:"type:int;commit:用户id"`
	OrderId    int     `gorm:"type:int;commit:订单id"`
	DeliveryId int     `gorm:"type:int;commit:闪送员id"`
	Rating     float32 `gorm:"type:decimal(10,2);commit:评分"`
	Context    string  `gorm:"type:varchar(255);commit:评价内容"`
}
